<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>密码修改</title>
    <link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
    <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</head>
<body>
{% if message!=''%}
<script type="text/javascript">
    var showmessage = '{{ message|tojson }}';
    alert(showmessage)

</script>
{%else%}

{%endif -%}
<div class="container">
    <div class="row">
        <div class="col-sm-4"></div>
        <div class="col-sm-4">
            <br>
                <form id="form1" name="form1" method="post" action="/lxkmodify">
                    <label>学号：{{data[0][0]}}
                        <input type="hidden" name="stu_id" value="{{data[0][0]}}"/>

                    </label>
                    <p>
                        <label>姓名：{{data[0][1]}}
                            <input type="hidden" name="stu_name" value="{{data[0][1]}}"/>
                        </label>
                    </p>
                    <p>
                        <label>请输入新密码：
                            <input type="password" name="newPsw"/>
                        </label>

                    </p>
                    <p>
                        <label>再次输入密码：
                            <input type="password" name="newPswAgain"/>
                        </label>
                    </p>
                    <p>
                        <label>(密码为数字字母符号的任意组合，且长度大于6位)</label>

                    </p>

                    <p>
                        <div class="form-group">
                            <div class="col-sm-offset-4 col-sm-4">
                                <input class="form-control" type="submit" name="button" value="提交"/>
<!--                                <input class="form-control" type="reset" name="button" value="重置"/>-->
                            </div>
                        </div>
                    </p>
                </form>
        </div>
        <div class="col-sm-4">

        </div>
    </div>
</div>

</body>
</html>